home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
BBS-Archive
/
Comm
/
AmiTCP30b2.lha
/
src
/
appl
/
napsaterm
/
tel_iacout.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-05-14
|
861b
|
38 lines
/*
* $Id: tel_iacout.h,v 3.1 1994/05/14 14:17:07 ppessi Exp $
*
* Author: Tomi Ollila <too@cs.hut.fi>
*
* Copyright © 1993, 1994 AmiTCP/IP Group, <amitcp-group@hut.fi>
* Helsinki University of Technology, Finland.
* All rights reserved.
*
* Created: Thu Apr 7 18:29:16 1994 too
* Last modified: Fri May 13 02:46:42 1994 ppessi
*/
#ifndef TEL_IACOUT_H
#define TEL_IACOUT_H
extern u_char telnet_iacbuf[36]; /* buffer for negotiation replies */
extern short telnet_iaclen; /* bytes in buffer above */
static INLINE void doIacflush(void)
{
send(rsock, telnet_iacbuf, telnet_iaclen, 0);
telnet_iaclen = 0;
}
static INLINE void iacflush(void)
{
if (telnet_iaclen)
doIacflush();
}
void putiac2(u_char wwdd, u_char c);
void putiac1(u_char c);
void putiacstring(u_char wwdd, const u_char * str);
#endif /* TEL_IACOUT_H */